package com.scaffold.dao;

import com.scaffold.base.dao.BaseBoostMapper;
import com.scaffold.model.domain.UserDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author Da Shuai
 * @since 2021-08-17 11:39:09
 */
@Mapper
public interface UserDao extends BaseBoostMapper<UserDO> {
    /**
     * 查询用户（包括删除的）根据userId
     *
     * @param id 用户id
     * @return 用户
     */
    UserDO getUserIncludeDeleteById(@Param("id") Long id);
}
